//-----------------------------------------------------------------------
// <copyright file="BannerBase.cs" company="FetCo">
//     Copyright (c) FetCo. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
	
using System;
using System.Data;
using System.ComponentModel;
using System.Collections;

namespace ADESSA.Entities
{
	[Serializable]
	public class BannerBase
	{
		
		#region Variable Declarations
		public static string _Table = "Banner";
		private long				bannerId = 0;
		private string				title = string.Empty;
		private string				bannePath = string.Empty;
		private DateTime				createdDate = new DateTime(1900,1,1,0,0,0,0);
		private string				note = string.Empty;
		private string				bannerLink = string.Empty;
		private DateTime				updatedDate = new DateTime(1900,1,1,0,0,0,0);
		private int				statusId = 0;
		private long				memberId = 0;
		private DateTime				startDate = new DateTime(1900,1,1,0,0,0,0);
		private DateTime				endDate = new DateTime(1900,1,1,0,0,0,0);
		private long				bannerLocationId = 0;
		private long				viewed = 0;
		private long				clicked = 0;
		private bool				isDefault = false;
		private bool				enable = false;
		private bool				flashStartus = false;
		private long				object_TGKM = 0;
		#endregion
		
		#region Constructors
		public BannerBase() {}
		
		public BannerBase (
			long bannerId,
			string title,
			string bannePath,
			DateTime createdDate,
			string note,
			string bannerLink,
			DateTime updatedDate,
			int statusId,
			long memberId,
			DateTime startDate,
			DateTime endDate,
			long bannerLocationId,
			long viewed,
			long clicked,
			bool isDefault,
			bool enable,
			bool flashStartus,
			long object_TGKM)
		
		{
			this.bannerId = bannerId;
			this.title = title;
			this.bannePath = bannePath;
			this.createdDate = createdDate;
			this.note = note;
			this.bannerLink = bannerLink;
			this.updatedDate = updatedDate;
			this.statusId = statusId;
			this.memberId = memberId;
			this.startDate = startDate;
			this.endDate = endDate;
			this.bannerLocationId = bannerLocationId;
			this.viewed = viewed;
			this.clicked = clicked;
			this.isDefault = isDefault;
			this.enable = enable;
			this.flashStartus = flashStartus;
			this.object_TGKM = object_TGKM;
		}
		#endregion
		
		#region Properties	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bigint</value>
		public long BannerId
		{
			get { return bannerId; }
			set { bannerId = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string Title
		{
			get { return title; }
			set { title = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string BannePath
		{
			get { return bannePath; }
			set { bannePath = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is datetime</value>
		public DateTime CreatedDate
		{
			get { return createdDate; }
			set { createdDate = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string Note
		{
			get { return note; }
			set { note = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string BannerLink
		{
			get { return bannerLink; }
			set { bannerLink = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is datetime</value>
		public DateTime UpdatedDate
		{
			get { return updatedDate; }
			set { updatedDate = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int StatusId
		{
			get { return statusId; }
			set { statusId = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bigint</value>
		public long MemberId
		{
			get { return memberId; }
			set { memberId = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is datetime</value>
		public DateTime StartDate
		{
			get { return startDate; }
			set { startDate = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is datetime</value>
		public DateTime EndDate
		{
			get { return endDate; }
			set { endDate = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bigint</value>
		public long BannerLocationId
		{
			get { return bannerLocationId; }
			set { bannerLocationId = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bigint</value>
		public long Viewed
		{
			get { return viewed; }
			set { viewed = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bigint</value>
		public long Clicked
		{
			get { return clicked; }
			set { clicked = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool IsDefault
		{
			get { return isDefault; }
			set { isDefault = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool Enable
		{
			get { return enable; }
			set { enable = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool FlashStartus
		{
			get { return flashStartus; }
			set { flashStartus = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bigint</value>
		public long Object_TGKM
		{
			get { return object_TGKM; }
			set { object_TGKM = value; }
		}
	
		
		#endregion
	}//End Class
	
	public enum BannerColumns
	{
		BannerId,
		Title,
		BannePath,
		CreatedDate,
		Note,
		BannerLink,
		UpdatedDate,
		StatusId,
		MemberId,
		StartDate,
		EndDate,
		BannerLocationId,
		Viewed,
		Clicked,
		IsDefault,
		Enable,
		FlashStartus,
		Object_TGKM
	}//End enum
}